/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  							script_victory.h

 ************************************************************************/

#ifndef _HDR_SCRIPT_VICTORY
#define _HDR_SCRIPT_VICTORY

#include "script_player_action.h"

class t_script_win_game
	:	public t_script_player_action
{
protected:
	virtual void		do_action( t_adventure_map* map, t_player* player ) const;
};

class t_script_lose_game
	:	public t_script_player_action
{
protected:
	virtual void		do_action( t_adventure_map* map, t_player* player ) const;
};

class t_script_action_disable_std_victory_condition 
	:  public t_script_player_action
{
protected:
	virtual void		do_action( t_adventure_map* map, t_player* player ) const;
};

class t_script_action_enable_std_victory_condition 
	:  public t_script_player_action
{
protected:
	virtual void		do_action( t_adventure_map* map, t_player* player ) const;
};

SPECIALIZE_SCRIPT_ACTION( k_script_action_win, t_script_win_game );
SPECIALIZE_SCRIPT_ACTION( k_script_action_lose, t_script_lose_game );

SPECIALIZE_SCRIPT_ACTION( k_script_action_disable_std_victory_condition, t_script_action_disable_std_victory_condition );
SPECIALIZE_SCRIPT_ACTION( k_script_action_enable_std_victory_condition, t_script_action_enable_std_victory_condition );


#endif